package edu.scau.pro.hotel.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (HotelCheckout)实体类
 *
 * @author makejava
 * @since 2022-04-17 15:27:29
 */
public class HotelCheckout implements Serializable {
    private static final long serialVersionUID = 151032583178343698L;
    /**
    * 退房明细ID
    */
    private Integer checkoutId;
    /**
     * 退房订单编号
     */
    private String checkoutNo;
    /**
    * 入住ID
    */
    private Integer checkinId;
    /**
    * 总房费（总金额）
    */
    private Double totalRoomMoney;
    /**
    * 已付金额
    */
    private Double paidMoney;
    /**
    * 退/补款金额
    */
    private Double extraMoney;
    /**
    * 付款方式
    */
    private String paymentWay;
    /**
    * 实际退房时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date realTimeLeave;

    public Integer getCheckoutId() {
        return checkoutId;
    }

    public void setCheckoutId(Integer checkoutId) {
        this.checkoutId = checkoutId;
    }

    public String  getCheckoutNo() {
        return checkoutNo;
    }

    public void setCheckoutNo(String checkoutNo) {
        this.checkoutNo = checkoutNo;
    }

    public Integer getCheckinId() {
        return checkinId;
    }

    public void setCheckinId(Integer checkinId) {
        this.checkinId = checkinId;
    }

    public Double getTotalRoomMoney() {
        return totalRoomMoney;
    }

    public void setTotalRoomMoney(Double totalRoomMoney) {
        this.totalRoomMoney = totalRoomMoney;
    }

    public Double getPaidMoney() {
        return paidMoney;
    }

    public void setPaidMoney(Double paidMoney) {
        this.paidMoney = paidMoney;
    }

    public Double getExtraMoney() {
        return extraMoney;
    }

    public void setExtraMoney(Double extraMoney) {
        this.extraMoney = extraMoney;
    }

    public String getPaymentWay() {
        return paymentWay;
    }

    public void setPaymentWay(String paymentWay) {
        this.paymentWay = paymentWay;
    }

    public Date getRealTimeLeave() {
        return realTimeLeave;
    }

    public void setRealTimeLeave(Date realTimeLeave) {
        this.realTimeLeave = realTimeLeave;
    }

}
